package org.grizz;

import org.grizz.game.GameTemplate;

import com.badlogic.gdx.backends.lwjgl.LwjglApplication;
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration;


public class MainStarter {
	public static final String GAME_TITLE = "";
	public static final int DEFAULT_WIDTH = 1280;
	public static final int DEFAULT_HEIGHT = 960;
	public static final boolean DEFAULT_FULLSCREEN = false;
	public static final boolean DEFAULT_VSYNC = true;
	public static final boolean DEFAULT_USEGL20 = false;

	public static void main(String[] args) {
		new ContextLoader().load();
		
		LwjglApplicationConfiguration configuration = new LwjglApplicationConfiguration();
		
		configuration.title = GAME_TITLE;
		configuration.useGL20 = DEFAULT_USEGL20;
		configuration.width = DEFAULT_WIDTH;
		configuration.height =DEFAULT_HEIGHT;
		configuration.fullscreen = DEFAULT_FULLSCREEN;
		configuration.vSyncEnabled = DEFAULT_VSYNC;
		
		new LwjglApplication(new GameTemplate(), configuration);
	}

}
